package com.zhq.zhq_blog.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhq.zhq_blog.entity.RankingList;
/**
 * <p>
 *  排行榜服务类
 * </p>
 */
public interface IRankingListService extends IService<RankingList> {

    IPage<RankingList> queryRankingListPage(Page<RankingList> page,QueryWrapper<RankingList> queryWrapper);
    RankingList queryRankingListByBlogId(int blogId);
    int removeByBlogId(int blogId);
    int updateByBlogId(int blogId,int flow);

}
